package com.burgeon.backend.SHOP.service;

import com.burgeon.backend.SHOP.entity.Recommend;
import com.burgeon.backend.SHOP.entity.RecommendConfig;
import com.burgeon.backend.SHOP.entity.RecommendSwitch;
import com.burgeon.backend.entity.TemplateSwitch;

import javax.servlet.http.HttpSession;
import java.util.ArrayList;

public interface RecommendService {
    RecommendSwitch findRecommendSwitch(String token);
    //注册成功，新建推荐表
    Integer addRecommend(String presentee,String referrer,String token);

    //推荐人小程序码
    String recommendCode(String uid,String token);

    //商城获取小程序的配置信息
    RecommendConfig getRecommendConfigByToken(String token, HttpSession session);

}
